﻿@using NetSurveillance.WebApp.DataServices.Models

@model IEnumerable<DataRecordResult>
@if (Model != null && Model.Any())
{
    <tr style="display: none;" class="trMaxId">
        <td colspan="45">@Html.Hidden("hidMaxId" + Guid.NewGuid(), Model.Max(p => p.Id))</td>
    </tr>
    foreach (var dataRecord in Model)
    {
        @Html.Partial("../Task/_SingleDataRecord", dataRecord)
    }
}